//
//  ViewController.m
//  LHAppUpdateManager
//
//  Created by 美食家 on 18/1/2.
//  Copyright © 2018年 不孤独的美食家. All rights reserved.
//

#import "ViewController.h"
#import "LHAppUpdateManager.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [LHAppUpdateManager lh_checkAppUpdateInfoWithAppID:@"1226861964" andRequestMethod:@"get" andSuccess:^(BOOL isNewerVersion, NSString * _Nonnull updatedurl, NSString * _Nonnull updateText) {
        NSLog(@"%@",updateText);
    } andFailure:^(NSError * _Nonnull error) {
        
    }];
}


@end
